@import './colors.scss';

// ----------------------------------------box-------------------------------------------

.oh {
  overflow: hidden;
}

.ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.full {
  width: 100%;
  height: 100%;
}

// ---------------------------------------background-------------------------------------------
.bg-gray {
  background: $lighter-gray;
}

.bg-white {
  background-color: $white;
}

.bg-blue {
  background-color: $blue;
}

.bg-blue-lightest {
  background-color: $lightest-blue;
}

.bg-lucency {
  background-color: transparent;
}

// --------------------------------------------flex----------------------------------------------
.d-flex {
  display: flex;
}

.flex-1 {
  flex: 1;
}

.flex-2 {
  flex: 2;
}

.flex-3 {
  flex: 3;
}

.flex-wrap {
  flex-wrap: wrap;
}

.fd-column {
  flex-direction: column;
}

.ai-center {
  align-items: center;
}

.ai-end {
  align-items: flex-end;
}

.ai-baseline {
  align-items: baseline;
}

.jc-center {
  justify-content: center;
}

.jc-between {
  justify-content: space-between;
}

.jc-around {
  justify-content: space-around;
}

.jc-end {
  justify-content: flex-end;
}

.self-center {
  align-self: center;
}

.self-end {
  align-self: flex-end;
}

.fr {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}

// --------------------------------------margin-----------------------------------------------
.mga {
  margin: auto;
}

.mg0 {
  margin: 0;
}

.mg10 {
  margin: 10px;
}

.mg20 {
  margin: 20px;
}

.mg30 {
  margin: 30px;
}

.mw5 {
  margin: 0 5px;
}

.mw10 {
  margin: 0 10px;
}

.mw20 {
  margin: 0 20px;
}

.mw30 {
  margin: 0 30px;
}

.mh10 {
  margin: 10px 0;
}

.mh20 {
  margin: 20px 0;
}

.mh30 {
  margin: 30px 0;
}

.mt10 {
  margin-top: 10px;
}

.mt20 {
  margin-top: 20px;
}

.mt30 {
  margin-top: 30px;
}

.mr10 {
  margin-right: 10px;
}

.mr20 {
  margin-right: 20px;
}

.mr30 {
  margin-right: 30px;
}

.mb10 {
  margin-bottom: 10px;
}

.mb20 {
  margin-bottom: 20px;
}

.mb30 {
  margin-bottom: 30px;
}

.ml10 {
  margin-left: 10px;
}

.ml20 {
  margin-left: 20px;
}

.ml30 {
  margin-left: 30px;
}

// -----------------------------------------border---------------------------------------------
.bd0 {
  border: 0;
}

.bdr0 {
  border-radius: 9999px;
}

.bdr5 {
  border-radius: 5px;
}

.bdr10 {
  border-radius: 10px;
}

.bdt {
  border-top: 1px solid $light-gray;
}

.bdb {
  border-bottom: 1px solid $light-gray;
}

.bdl {
  border-left: 1px solid $light-gray;
}

.bdr {
  border-right: 1px solid $light-gray;
}

// -----------------------------------------padding--------------------------------------------------
.pd0 {
  padding: 0;
}

.pd10 {
  padding: 10px;
}

.pd20 {
  padding: 20px;
}

.pd30 {
  padding: 30px;
}

.pdw10 {
  padding: 0 10px;
}

.pdw20 {
  padding: 0 20px;
}

.pdw30 {
  padding: 0 30px;
}

.pdh10 {
  padding: 10px 0;
}

.pdh20 {
  padding: 20px 0;
}

.pdh30 {
  padding: 30px 0;
}

.pt10 {
  padding-top: 10px;
}

.pt20 {
  padding-top: 20px;
}

.pt30 {
  padding-top: 30px;
}

.pr10 {
  padding-right: 10px;
}

.pr20 {
  padding-right: 20px;
}

.pr30 {
  padding-right: 30px;
}

.pb10 {
  padding-bottom: 10px;
}

.pb20 {
  padding-bottom: 20px;
}

.pb30 {
  padding-bottom: 30px;
}

.pl10 {
  padding-left: 10px;
}

.pl20 {
  padding-left: 20px;
}

.pl30 {
  padding-left: 30px;
}
// -----------------------------------------text color-----------------------------------------
.text-black {
  color: $black;
}

.text-red {
  color: $red;
}

.text-blue {
  color: $blue;
}

.text-gray {
  color: $darker-gray;
}

.text-green {
  color: $green;
}

.text-gray-light {
  color: $dark-gray;
}

.text-white {
  color: $white;
}
// ------------------------------------------text size--------------------------------------------------
.normal {
  font-weight: normal;
}

.bold {
  font-weight: bold;
}

.fs24 {
  font-size: 24px;
}

.fs-xxxl {
  font-size: 22px;
}

.fs-xxl {
  font-size: 20px;
}

.fs-xl {
  font-size: 18px;
}

.fs-l {
  font-size: 16px;
}

.fs-md {
  font-size: 14px;
}

.fs-sm {
  font-size: 12px;
}
// -----------------------------------------text layout-------------------------------------------------
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.text-nowrap {
  white-space: nowrap;
}

// -------------------------------------
.lhs {
  line-height: 1;
}

.lhm {
  line-height: 1.5;
}

.lhl {
  line-height: 2;
}

.lhxl {
  line-height: 3;
}

// -----------------------------------------other-----------------------------------------
.pointer {
  cursor: pointer;
}

.table-body {
  margin-top: 10px;
  border-bottom: 1px solid $gray;
  border-right: 1px solid $gray;
}

.header-title {
  background: $lighter-blue;
}

.cell-item {
  border-left: 1px solid $gray;
  border-top: 1px solid $gray;
  padding: 5px 10px;
}

.primary-plain-btn {
  background-color: $white !important;
  color: $blue !important;
}

.pointer-disabled {
  cursor: not-allowed;
  color: $dark-gray;
}

